<?php

namespace common\db;

use yii\base\Event;

class MyEvent {

    static public function eventxf(Event $event) {
        echo $event->sender . '的自定义事件,事件内容是：' . $event->data, PHP_EOL;
    }

}
